<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/11/26
 * Time: 14:59
 */
namespace App\FreeBird\Contracts;
interface  AutomaticInterface{

    /**
     * 添加数据
     * @param $data
     * @return mixed
     */
    public function add($data);

    /**
     * 取消自动
     * @param $where
     * @return mixed
     */
    public function cancel($where);

    /**
     * 自动接单
     * @param $orderInfo 订单对象
     * @return mixed
     */
    public function autoAcceptOrder($orderInfo);
}